package cn.openea.perpartner.cms.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.openea.perpartner.cms.web.dto.CommodityDto;
import cn.openea.perpartner.cms.web.entity.CmsCommodity;

import java.io.IOException;
import java.util.List;

/**
 * (CmsCommodity)表服务接口
 *
 * @author makejava
 * @since 2022-08-23 12:10:43
 */
public interface ICmsCommodityService extends IService<CmsCommodity> {

    List<CmsCommodity> selectList(String customerId);

    List<CmsCommodity> selectAll(String userId,String searchStr,String commodityStatus);

    boolean updateBatch(List<CommodityDto> commodityDtoList);
    boolean check(String customerId);

    String preview(List<Long> idList) throws IOException;


}

